using Boo.Lang;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;

[Serializable]
public class DragTransform : MonoBehaviour
{
	[Serializable]
	[CompilerGenerated]
	internal sealed class _0024OnMouseDown_0024527 : GenericGenerator<object>
	{
		internal DragTransform _0024self__0024533;

		public _0024OnMouseDown_0024527(DragTransform self_)
		{
			_0024self__0024533 = self_;
		}

		public override IEnumerator<object> GetEnumerator()
		{
			return new _0024(_0024self__0024533);
		}
	}

	public Color mouseOverColor;

	private Color originalColor;

	public DragTransform()
	{
		mouseOverColor = Color.blue;
	}

	public void Start()
	{
		originalColor = GetComponent<Renderer>().sharedMaterial.color;
	}

	public void OnMouseEnter()
	{
		GetComponent<Renderer>().material.color = mouseOverColor;
	}

	public void OnMouseExit()
	{
		GetComponent<Renderer>().material.color = originalColor;
	}

	public IEnumerator OnMouseDown()
	{
		return new _0024OnMouseDown_0024527(this).GetEnumerator();
	}

	public void Main()
	{
	}
}
